<%@ page import="com.bafa.objects.*" %>
<% Message message = (Message)request.getAttribute("MESSAGE"); 

%>
<%if(message!=null){%>
<ul>
<%for(int i=0;i<message.size();i++){%>
<li class="message"><%=message.getMessage(i)%></li>
<%}%>
</ul>
<%}%>

<%if(message!=null && message.errorsSize()>0){%>
<u><span class="error">Errors</span></u>
<ul>
<%for(int i=0;i<message.errorsSize();i++){%>
<li class="error"><%=message.getErrors().get(i)%></li>
<%}%>
</ul>
<%}%>